---
title: Window.Group Method (Visio)
ms.prod: visio
api_name:
- Visio.Window.Group
ms.assetid: 8f0aa15e-007d-4c97-8d57-6dd36b845331
ms.date: 06/08/2017
---


# Window.Group Method (Visio)

This object, member, or enumeration is deprecated and is not intended to be used in your code. Groups the objects that are selected in a selection.


## Version Information

Version Added: Visio 2.0 


### Syntax

 _expression_ . **Group**

 _expression_ A variable that represents a **Window** object.


## Remarks

The  **Window** object's **Group** method is now obsolete. Use the **Group** method of the[Selection](selection-group-method-visio.md) or[Shape](shape-object-visio.md) object.

If your Visual Studio solution includes the  **Microsoft.Office.Interop.Visio** reference, this method maps to the following types:


-  **Microsoft.Office.Interop.Visio.IVWindow.Group()**
    

